package 类和对象课堂练习;

import 类和对象课堂练习.封装.Dog;
import 类和对象课堂练习.封装.Hamster;
import 类和对象课堂练习.封装.Master;

public class Pet1 {
    public static void main(String[] args) {
        Eyu a=new Eyu("小黄",66,66,"公","大鳄鱼");
        Dog c=new Dog("小黑",77,55,"母","藏獒");
        Hamster d=new Hamster("小花",88,77,"母","小仓鼠");
        Master b=new Master("小孔");
        b.print(a);
        b.print(c);
        b.print(d);
    }

}
